package com.demo.gulimall.order.to;

import com.demo.gulimall.order.entity.Order;
import com.demo.gulimall.order.entity.OrderItem;
import lombok.Data;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.util.List;

/**
 * @author Chen Yuan
 * @create 2023-06-28  9:11
 */
@Data
@Accessors(chain = true)
public class OrderCreatedTo {

	private Order order;

	private List<OrderItem> orderItems;

	// 应付价格
	private BigDecimal payPrice;

	// 运费
	private BigDecimal farePrice;
}
